home *** CD-ROM | disk | FTP | other *** search
/ Aminet 4 / Aminet 4 - November 1994.iso / aminet / dev / c / appsource.lha / APlusPlus / GNUC++ / smakefile < prev   
Encoding:
Makefile  |  1994-07-22  |  1.3 KB  |  67 lines

  1. #
  2. # GNU Makefile for the A++ Test programs
  3. # Copyright (C)1994 by Armin Vogt
  4. #
  5. # This makefile has been created automatically with 'maketst'
  6. # $Id: maketst,v 1.1 1994/07/20 19:27:38 Armin_Vogt Exp Armin_Vogt 0
  7. #
  8.  
  9. TESTPRGS        =      /apphome/TESTPRGS/
  10. APPINCLUDE      =      /appinclude/
  11.  
  12. #
  13. # if the Commodore® headers are not present in gcc:os-include
  14. # define their path here..
  15. CHEADERS        =      /include
  16.  
  17.  
  18. CC      =  g++
  19. CFLAGS  =  -O2
  20.  
  21. LIBNAME    =    aplusplus
  22. LIBDIR     = /apphome/gnuc++/APPlibrary
  23.  
  24. ERRORPIPE  =  pipe:gnu_errors
  25.  
  26.  
  27.  
  28. .SUFFIXES: .o .c .cxx
  29.  
  30. .cxx.o:
  31.     $(CC) -c -I/gcc/include -I$(APPINCLUDE) -I$(CHEADERS) $(CFLAGS) $< >$(ERRORPIPE)
  32.  
  33.  
  34. # The order of include directory declarations in crucial when
  35. # CHEADERS is used. GNU standard headers must have a higher priority
  36. # than the ones in the CHEADERS (usually SAS standard headers!!)
  37.  
  38.  
  39. all: \
  40.  AttrList_test\
  41.  LvObject_test\
  42.  MsgPort_test\
  43.  SigResp_test\
  44.  TimedMsgPort_test\
  45.  TypeInfo_test\
  46.  AutoDrawArea_test\
  47.  Canvas_test\
  48.  TextView_test\
  49.  BoopsiGadget_test\
  50.  Constraints_test\
  51.  GroupedButtons_test\
  52.  GT_test\
  53.  Listview_test\
  54.  SimpleWindow_test\
  55.  
  56.  
  57.  
  58. AttrList_test: AttrList_test.o
  59.     $(CC) AttrList_test.o -L$(LIBDIR) -l0(LIBNAME)
  60.  
  61. LvObject_test: LvObject_test.o
  62.     $(CC) LvObject_test.o -L$(LIBDIR) -l0(LIBNAME)
  63.  
  64. MsgPort_test: MsgPort_test.o
  65.     $(CC) MsgPort_test.o -L$(LIBDIR) -l0(LIBNAME)
  66. ^C
  67.